<?php
	//important check if plugin started correctly
	if(!function_exists('plugins')) exit;

		if($GLOBALS['what']=='news'){
			if($GLOBALS['conf']['mod_rewrite'])
			$GLOBALS['url']='news-'.read_text_mr($GLOBALS['name']).'_'.$GLOBALS['cat_']->id.'.html';
			else
			$GLOBALS['url']='index.php?module=news&amp;cat='.$GLOBALS['cat_']->id;
		}
?>
